home *** CD-ROM | disk | FTP | other *** search
/ Libris Britannia 4 / science library(b).zip / science library(b) / COMMUNIC / TERMINAL / 1589.ZIP / STRTONO.H < prev    next >
Text File  |  1989-02-06  |  866b  |  23 lines

  1. /*************************************************************************
  2. *   defines for the strtono program
  3. **************************************************************************/
  4. #ifndef FALSE
  5. #define FALSE 0
  6. #endif
  7. #ifndef TRUE
  8. #define TRUE !FALSE
  9. #endif
  10. #define         STR_FLOAT               0x6
  11. #define         STR_DOUBLE              0x5
  12. #define         STR_LONG                0x4
  13. #define         STR_INT                 0x3
  14. #define         STR_SHORT               0x2
  15. #define         STR_CHAR                0x1
  16. #define         HEXADECIMAL             0x10
  17. #define         DECIMAL                 10
  18. #define         OCTAL                   010
  19. #define         BAD_STRING              FALSE
  20. #define         TOO_BIG                 FALSE
  21. #define         TOO_MANY_DIGITS         FALSE
  22. #define         SUCCESS                 TRUE
  23.